﻿using System;
namespace fanli.Model
{
	/// <summary>
	/// 消息模板实体类：fanli_messageTemplate 。
	/// </summary>
	[Serializable]
	public class fanli_messageTemplate
	{
		public fanli_messageTemplate()
		{}

		#region Model
		private int _id; //id
		private string _content; //内容
		private string _type; //类型
		private string _about; //说明


        /// <summary>
		/// id
		/// </summary>
		public int id
		{
			set{ _id=value;}
			get{return _id;}
		}
        /// <summary>
		/// 内容
		/// </summary>
		public string content
		{
			set{ _content=value;}
			get{return _content;}
		}
        /// <summary>
		/// 类型
		/// </summary>
		public string type
		{
			set{ _type=value;}
			get{return _type;}
		}
        /// <summary>
		/// 说明
		/// </summary>
		public string about
		{
			set{ _about=value;}
			get{return _about;}
		}
		#endregion Model

		#region txt document
		/*
消息模板,messageTemplate
id,内容,类型,说明
id,content,type,about
i,t,c20,c200

--------------------------
-- 创建表[消息模板]开始: 
-- alter table  [fanli_messageTemplate] add
-- IF EXISTS (SELECT 1 FROM sysobjects WHERE xtype='u' AND name='fanli_messageTemplate') drop table fanli_messageTemplate
  CREATE TABLE [fanli_messageTemplate] (
	 [id] integer IDENTITY (1, 1) PRIMARY KEY NOT NULL ,
	 [content] [text],
	 [type] [varchar] (20),
	 [about] [varchar] (200)
  )

 exec sp_addextendedproperty N'MS_Description',N'消息模板 ',N'user',N'dbo',N'table',N'fanli_messageTemplate', NULL, NULL
 exec sp_addextendedproperty N'MS_Description',N'id',N'user',N'dbo',N'table',N'fanli_messageTemplate',N'column',N'id'
 exec sp_addextendedproperty N'MS_Description',N'内容',N'user',N'dbo',N'table',N'fanli_messageTemplate',N'column',N'content'
 exec sp_addextendedproperty N'MS_Description',N'类型',N'user',N'dbo',N'table',N'fanli_messageTemplate',N'column',N'type'
 exec sp_addextendedproperty N'MS_Description',N'说明',N'user',N'dbo',N'table',N'fanli_messageTemplate',N'column',N'about'

-- 创建表[消息模板]结束。 
--------------------------

		*/
		#endregion document
	}
}

